<html>
<script>

var a = {group: "statemachine"};

var b = JSON.stringify(a,2,2);

console.log(b);
</script>
</html>